extends layout

block append links
    //替换layout中的links模块
    <link rel="stylesheet" href="/css/login.css">

block content
    <div class="div">
        <div class="container">
    <div class="row">
    <div class="div1">
    <div class="col-md-4 col-sm-4 col-xs-4 div2">
    <h2 class="text-center">欢迎使用宿舍管理系统</h2>
    <span style="color: red">#{msg}</span>
    <form action="/login.do" method="post">
    <div class="form-group bor">
    <input type="text" value="#{cookiesBean ? cookiesBean.account : ''}" class="form-control bor1" required name="account" placeholder="账号">
    <input type="password" value="#{cookiesBean ? cookiesBean.password : ''}" class="form-control bor2" required name="password" placeholder="密码">
    </div>
    <div class="checkbox text-center">
    <label>
    <input name="rem" value="1" type="checkbox"> 记住密码
    </label>
    </div>
    <div class="form-group">
    <button type="submit" id="btn_login" class="btn btn-primary btn-block">登录</button>
    </div>
    <div class="form-group">
    <button type="button" style="width: 49%;" class="btn-default btn">注册</button>
    <button type="button" style="width: 49%;" class="btn-default btn">重置</button>
    </div>
    </form>
    </div>
    </div>
    </div>
    </div>
    </div>

block append scripts
    <script src="/js/login.js"></script>